package top.zhan.factory.abs.wechat;

import top.zhan.factory.abs.OrderFactory;
import top.zhan.factory.abs.PayFactory;
import top.zhan.factory.abs.RefundFactory;
import top.zhan.factory.abs.ali.AliPay;
import top.zhan.factory.abs.ali.AliRefund;

/**
 * @author Zhan
 * @date 2022/9/27 10:35
 */
public class WechatOrderFactory implements OrderFactory {
    @Override
    public PayFactory createPay() {
        return new WechatPay();
    }

    @Override
    public RefundFactory createRefund() {
        return new WechatRefund();
    }
}
